﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PregledSopOglasa.aspx.cs" Inherits="automobili_gui.Ulogovan_korisnik.PregledSopOglasa" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
    OnRowCommand="Insert" OnPageIndexChanging="Prikaz" PageSize="10" OnPageIndexChanged="Prikazi" AllowPaging="true">
        <Columns>
            <asp:BoundField HeaderText="ID Oglasa" DataField="idOglasa" />
            <asp:BoundField HeaderText="Marka" DataField="marka" />
            <asp:BoundField HeaderText="Model" DataField="model" />
            <asp:BoundField HeaderText="Karoserija" DataField="karoserija" />
            <asp:BoundField HeaderText="Pogonsko gorivo" DataField="pogonsko_gorivo" />
            <asp:BoundField HeaderText="Cena" DataField="cena" />
            <asp:BoundField HeaderText="Status" DataField="status" />
            <asp:ButtonField ButtonType="Button" 
                 CausesValidation="False" Text="Promeni status"  />
        </Columns>
    </asp:GridView>
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</asp:Content>
